import {useParams, useSearchParams } from "react-router-dom";

function Home() {
  // const [searchParams] = useSearchParams();
  // console.log(searchParams.get("id"));
  // console.log(searchParams.get("name"));
  const params = useParams();
  console.log(params.id);
  return (
    <div>
      我是Home页面
    </div>
  );
}
export default Home